/* 
 *  Copyright (c) 2011—2013 Panguso.com. All rights reserved. 
 *  File Name:  DbTraceFilterRule.java                                      
 *  File Contents Outline : Trace过滤规则数据对象
 *  File  Create Date:   2012年7月30日
 *  File Version#: Revision#: #1                  
 *  File  Latest Modify Date : 2013年1月16日
 *  File Author :  bachuan@panguso.com
 */
package storage.dbobject;

import java.util.UUID;
public class DbTraceFilterRule {
    public static String cl_key = "KEY";   
    private String rowKey;
    public static String cl_name = "name";
    private String name; 
    public static String cl_traceFilterRule = "traceFilterRule";
    private String traceFilterRule;
    public static String cl_filterType="filterType";
    private String filterType;
    public static String cl_createTime = "createTime";
    private String createTime;

    public DbTraceFilterRule(String rowKey, String name, String traceFilterRule,String filterType, String createTime) {        
        this.rowKey = rowKey;
        this.createTime = createTime;
        this.name = name;
        this.filterType=filterType;
        this.traceFilterRule = traceFilterRule;
    }

    public DbTraceFilterRule(String name, String traceFilterRule, String filterType,String createTime) {       
        this.rowKey = UUID.randomUUID().toString();
        this.createTime = createTime;
        this.name = name;
        this.traceFilterRule = traceFilterRule;
        this.filterType=filterType;
    }

    /**
     * @return the rowKey
     */
    public String getRowKey() {
        return rowKey;
    }

    /**
     * @param rowKey the rowKey to set
     */
    public void setRowKey(String rowKey) {
        this.rowKey = rowKey;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the traceFilterRule
     */
    public String getTraceFilterRule() {
        return traceFilterRule;
    }

    /**
     * @param traceFilterRule the traceFilterRule to set
     */
    public void setTraceFilterRule(String traceFilterRule) {
        this.traceFilterRule = traceFilterRule;
    }

    /**
     * @return the createTime
     */
    public String getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime the createTime to set
     */
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    /**
     * @return the filterType
     */
    public String getFilterType() {
        return filterType;
    }

    /**
     * @param filterType the filterType to set
     */
    public void setFilterType(String filterType) {
        this.filterType = filterType;
    }

 


    
}
